package com.wolf.cx330.view.adapter

import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter

class AvdAnimFragAdapter(
    fragAct: FragmentActivity,
    private val fragList: MutableList<Fragment>
) :
    FragmentStateAdapter(fragAct) {
    override fun getItemCount(): Int = fragList.size

    override fun createFragment(pos: Int): Fragment = fragList[pos]
}